﻿@model Fmis21_10.Models.Tournament

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Layout.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>Tournament</legend>
     @Html.ActionLink("Add Match   ", "Create", "Match", new { id = Model.TournamentId }, new { @class="actionlink" }) for this tournament ! <br />
     @Html.ActionLink("Add Team   ", "Create", "TournamentTeam", new { id = Model.TournamentId }, new { @class="actionlink" }) for this tournament !
    @Html.ActionLink("Bảng xếp hạng", "Index", "Rating", new { id = Model.TournamentId }, new { @class="actionlink"})
    <div class="display-label">
         @Html.DisplayNameFor(model => model.TournamentId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TournamentId)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TournamentName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TournamentName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Season)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Season)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Association)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Association)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.State)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.State)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Soccertype)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Soccertype)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.NumberOfRound)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NumberOfRound)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.StartDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.StartDate)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.EndDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndDate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.TournamentId }) |
    @Html.ActionLink("Back to List", "Index")
    <br />
   
</p>
<fieldset><legend>Bang xep hang</legend>
            @Html.Raw(ViewBag.resultTest)
</fieldset>
